package com.authine.cloudpivot.ext.dto.kingDee.request;

import com.authine.cloudpivot.ext.enums.kingdee.KingDeePaymentApplyType;
import io.swagger.annotations.Api;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 转采付款单模型
 *
 */
@Api("K3-转采付款单模型")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "K3-转采付款单模型")
public class KingDeeRequestPayment implements Serializable {

    private static final long serialVersionUID = 836852648115435749L;
    /**
     * 付款单ID
     */
    @Schema(description = "付款单ID")
    private String id;
    /**
     * 供应商名称
     */
    @Schema(description = "供应商名称")
    private String transferVendorName;
    /**
     * 供应商ID
     */
    @Schema(description = "供应商ID")
    private String vendorId;
    /**
     * 付款金额
     */
    @Schema(description = "付款金额")
    private BigDecimal paymentAmount;
    /**
     * 付款方式
     */
    @Schema(description = "付款方式")
    private KingDeePaymentApplyType invoiceApplyTypeEnum;

    /**
     * 付款账号
     */
    @Schema(description = "付款账号")
    private String bankNumber;
    /**
     * 付款时间
     */
    @Schema(description = "付款时间")
    private Date financialConfirmTime;
    /**
     * 付款详情
     */
    @Schema(description = "付款详情")
    private List<KingDeeRequestPaymentDetail> kingDeeRequestPaymentDetailList;
    /**
     * 账套名
     */
    @Schema(description = "账套名")
    private String accountName;
}
